package com.danskin.wechat.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.danskin.wechat.entity.WxMediaPlatform;
import com.danskin.wechat.entity.example.WxMediaPlatformExample;

public interface WxMediaPlatformDao {
    int countByExample(WxMediaPlatformExample example);

    int deleteByExample(WxMediaPlatformExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxMediaPlatform record);

    int insertSelective(WxMediaPlatform record);

    List<WxMediaPlatform> selectByExample(WxMediaPlatformExample example);

    WxMediaPlatform selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxMediaPlatform record, @Param("example") WxMediaPlatformExample example);

    int updateByExample(@Param("record") WxMediaPlatform record, @Param("example") WxMediaPlatformExample example);

    int updateByPrimaryKeySelective(WxMediaPlatform record);

    int updateByPrimaryKey(WxMediaPlatform record);

	WxMediaPlatform queryByAppId(String appId);
}